using System;
using System.Collections.Generic;
using System.Text;

namespace TXLooker.Common.FileFormatCoverters
{
    /// <summary>
    /// 
    /// </summary>
    public interface IFormatConverter
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="sourceString"></param>
        /// <param name="sourceFormat"></param>
        /// <param name="targetFormat"></param>
        /// <returns></returns>
        string ConvertTo(string sourceString, TextFormatType sourceFormat, TextFormatType targetFormat);

        /// <summary>
        /// 
        /// </summary>
        /// <param name="application"></param>
        /// <param name="sourceString"></param>
        /// <param name="targetFormat"></param>
        /// <returns></returns>
        //string ConvertHtmlTo(Redemption.RDOSession rdoSession, string sourceString, TextFormatType targetFormat, bool bConvert);

        /// <summary>
        /// 
        /// </summary>
        /// <param name="sourceString"></param>
        /// <param name="targetFormat"></param>
        /// <returns></returns>
        string ConvertHtmlTo(string sourceString, TextFormatType targetFormat);
    
    }
}
